<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>API预览</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        
        <div><a href="{:url("apidocs/apilist")}">应用列表</a></div>
        {volist name="appList" id="app"}
            <li><a href="{:url("apidocs/apilist",[app_id=>$app.id])}">{$app.app_name}</a>
            {if $app.app_status != 1}
            【禁用】
            {/if}
            </li>
        {/volist}
        {if count($apiList)>0}
        <div style="width: 80% ;margin:0 auto;">API列表<div style="float: right;"><input type="text" /><input type='button' value="查找应用"/></div></div>
        {/if}
        <div style="width: 80% ;margin:0 auto;">
        {volist name="apiList" id="api"}
            <li><a href="{:url("api/apiPage",[action=>$api.hash])}">{$api.apiName}({$api.apiUrl})</a>
            {if $api.status != 1}
            【禁用】
            {/if}
            </li>
        {/volist}
        </div>
        
    </body>
</html>
